Learning Reversible Languages with Terminal Distinguishability
نویسنده
چکیده
k-reversible languages are regular ones that offer interesting properties under the point of view of identification of formal languages in the limit. Different methods have been proposed to identify k-reversible languages in the limit from positive samples. Non-regular language classes have been reduced to regular reversible languages in order to solve their associated learning problems. In this work, we present a hierarchy of reversible languages which can be characterized by some properties related to the set of terminal segments of the automata (terminal distinguishability). Terminal distinguishability is a property that has been previously used to characterize other language families which can be identified in the limit from positive data. In the present work we combine reversibility and terminal distinguishability in order to define a new hierarchy of regular languages which is highly related to the kreversible hierarchy. We will provide an efficient method to identify any given language in the hierarchy from only positive examples. Definitions Σ denotes an alphabet, Σ∗ the infinite set of strings defined by Σ, Σ denotes the set of strings with length l. The reverse of any string u will be denoted by u, and the set of segments of u with length k will be denoted by seg(u, k). Given a finite automaton A, we denote the reverse automaton of A by A . Given a finite automaton A = (Q,Σ, δ, I, F ) and q ∈ Q, and given an integer value k ≥ 0, we will say that u ∈ Σ, is a k-follower (k-leader) of q if δ(q, u) = (resp. δ(q, u) = ). A finite automaton A is deterministic with lookahead k if and only if for every three states q1, q2 and q3, if q1, q2 ∈ δ(q3, a), or q1, q2 ∈ I, then there is no common k-follower of q1 and q2. k-reversible Languages with r-terminal Distinguishability: The REV(k, r) Class Definition 1. Let A = (Q,Σ, δ, I, F ) be a finite automaton, and let k, r be integer values with 0 < r ≤ k. We will say that A is deterministic with lookahead Work supported by the Spanish CICYT under contract TIC2003-09319-C03-02 and the Generalitat Valenciana GV06/068. Y. Sakakibara et al. (Eds.): ICGI 2006, LNAI 4201, pp. 354–355, 2006. c © Springer-Verlag Berlin Heidelberg 2006 Learning Reversible Languages with Terminal Distinguishability 355 k and r-terminal distinguishability iff for every three states q1, q2 and q3, if q1, q2 ∈ δ(q3, a), or q1, q2 ∈ I, then at least one of the following conditions holds: 1. ∃v1 ∈ Σ being a k-follower of q1 such that for all v2 ∈ Σ being a k-follower of q2 seg(v1, r) = seg(v2, r). 2. ∃v2 ∈ Σ being a k-follower of q2 such that for all v1 ∈ Σ being a k-follower of q1 seg(v2, r) = seg(v1, r). Definition 2. We will say that a finite automaton A is k-reversible with rterminal distinguishability iff A is deterministic and A is deterministic with lookahead k and r-terminal distinguishability. A language L is k-reversible with r-terminal distinguishability, with 0 < r ≤ k, if there exists a k-reversible finite automaton with r-terminal distinguishability A such that L(A) = L. We will denote the family of k-reversible languages with r-terminal distinguishability by REV(k, r). Observe that there exists narrow relation between the class REV(k) in Angluin’s work [An82] and the class REV(k, r). The relationship between different language classes is showed through the following results. Lemma 1. For any k > 0, REV(k) REV(k, k). Lemma 2. For every integer values k and r such that 1 ≤ r < k, REV(k, r) ⊂ REV(k, r + 1). Identifying REV(k, r) Languages in the Limit In order to identify any REV(k, r) language in the limit we propose a modification of Angluin’s algorithm [An82]. Observe that Angluin proposes the merging of two states (blocks) due to the following two criteria: 1. The two states produce non determinism 2. The two states have at least one transition with the same symbol to the same state and they have a common k-leader. Here we propose an additional criterion which can be enunciated as follows: Two states (blocks) are merged if they have at least one transition with the same symbol to the same state and the conditions of definition 1 do not hold. The modified algorithm obtains the smallest language L such that L is in REV(k, r) and L contains the sample given as input. The proof follows from Angluin’s work [An82]. The complexity of the modified algorithm is still polynomial, in fact O(C(k, r) · n3), where C(k, r) is a constant that depends on the number of k-leaders of every state and the number of r segments.
منابع مشابه
Learning Tree Languages from Text
We study the problem of learning regular tree languages from text. We show that the framework of function distinguishability as introduced by the author in Theoretical Computer Science, 290:1679–1711, 2003, can be generalized from the case of string languages towards tree languages. This provides a large source of identifiable classes of regular tree languages. Each of these classes can be char...
متن کاملDistinguishability Operations and Closures on Regular Languages
In this paper we study the language of the words that, for a given language L, distinguish between pairs of different left-quotients of L. We characterize this distinguishability operation, show that its iteration has always a fixed point, and we generalize this result to operations derived from closure operators and Boolean operators. We give an upper bound for the state complexity of the dist...
متن کاملk-gram Extensions of Terminal Distinguishable Languages
We show how k-grams can be used to extend classes of terminal distinguishable right-linear languages (k-TDRL). Moreover, we present an efficient identification algorithm for k-TDRL languages. Our approach not only generalizes the class TDRL, but also the k-testable languages, as well as the k-reversible languages.
متن کاملThe distinguishability operation on regular languages
In this paper we study the language of the words that, for a given language L, distinguish between pairs of different left-quotients of L. We characterize this distinguishability operation, show that its iteration has always a fixed point, and we generalize this result to operations derived from closure operators and Boolean operators. We give an upper bound for the state complexity of the dist...
متن کاملThe effect of reversible inactivation of raphe nuclus on learning and memory in rats
The role of raphe nucleus (R.N) and serotonin in some behaviors such as sleep, cognition, mood, and memory has previously been reported. The median raphe (MR) nucleus is a major serotonin-containing cell group within the brainstem and is one of the main sources of projections to the septum and hippocampus. The hippocampus is widely believed to be essential for context-conditioning learning. Mor...
متن کامل